package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.vo.DriverCertInfoVo;

public interface DriverCertInfoService {

    /**
     * 查询当前司机信息
     *
     * @return
     * @throws Exception
     */
    DriverCertInfoVo list(Boolean truckType) throws Exception;

    /**
     * 司机认证
     *
     * @param driverCertInfoVo
     * @return
     * @throws Exception
     */
    long add(DriverCertInfoVo driverCertInfoVo) throws Exception;

    /**
     * 修改司机信息
     *
     * @param driverCertInfoVo
     * @return
     * @throws Exception
     */
    int update(DriverCertInfoVo driverCertInfoVo) throws Exception;

    /**
     * @param userId 用户id
     * @return
     * @Title: verifyTheCurrentUservehicleInformationAudit
     * @Description: 查询当前用户车辆信息是否审核通过！
     * @return: boolean
     */
    boolean verifyTheCurrentUservehicleInformationAudit(Long userId);

    /**
     * @param userId   用户id
     * @param isVeneer 是否同城
     * @return
     * @Title: verifyTheCurrentUservehicleInformationAudit
     * @Description: 查询当前用户车辆信息是否审核通过！
     * @return: boolean
     */
    boolean verifyTheCurrentUservehicleInformationAudit(Long userId, Boolean isVeneer);
}
